#coding = utf-8

from tasks import add

result =  add.delay(3,4)
print('Is tasks is ready:%s' % result.ready())

run_result = result.get(timeout=1)
print('task result:%s' % run_result)